<?php

  $db_host = getenv('MYSQL_DB_HOST');
  $db_username = getenv('MYSQL_USERNAME');
  $db_pass= getenv('MYSQL_PASSWORD');
  $db_name = getenv('MYSQL_DB_NAME');

  mysql_connect ($db_host,$db_username,$db_pass) or die ("Couldnt connect to mySQL");
  mysql_select_db($db_name) or die ("No database found");
?>

